package cn.kgc.tcst004.maoqichao.crowdfundingadminspringboot.service;

import cn.kgc.tcst004.maoqichao.crowdfundingadminspringboot.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdminService {
   Admin selectById(Integer id);
   //登录
   public Admin login(String loginAcct, String userPswd);
   //按条件查询
   PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);
   //删除
   public void batchRemove(List<Integer> adminIdList);
   //新增
   public void saveAdmin(Admin admin);
   //跳转修改
   public Admin getAdminById(Integer adminId);
   //修改
   public void updateAdmin(Admin admin);
}

